package cn.jacksigxu.min3halla.init;

import cn.jacksigxu.min3halla.MHMod;
import cn.jacksigxu.min3halla.loot.SetAlcoholNbtFunction;
import net.minecraft.core.registries.Registries;
import net.minecraft.world.level.storage.loot.functions.LootItemFunctionType;
import net.minecraftforge.registries.DeferredRegister;
import net.minecraftforge.registries.RegistryObject;

public class MHLootFunctionTypes {

    public static final DeferredRegister<LootItemFunctionType> TYPES = DeferredRegister.create(Registries.LOOT_FUNCTION_TYPE, MHMod.MOD_ID);

    public static final RegistryObject<LootItemFunctionType> SET_ALCOHOL_NBT = TYPES.register("set_alcohol_nbt",
            () -> new LootItemFunctionType(new SetAlcoholNbtFunction.Serializer()));
}
